"""author: songzhiqiang
   data: 2021/11/21
   project: zuoye
"""
import requests

url = 'http://up.deskcity.org/pic/202010/dt/c1yny4sdxhr1825.jpg'

# #发送请求
response = requests.get(url)

with open("beautiful_scence.jpg", "wb") as f:
    #将responce对象转换成二进制数据形式写入文件
    f.write(response.content)
